<h1>{L_title}
<!-- OPTION value_name -->
: {value_name}
<!-- END OPTION value_name -->
</h1>
<div id="action">
<a href="{adsm_list}" title="{L_back_list}">{L_back_list}</a> 
<!-- OPTION adsm_delete -->
<a href="javascript:confirmation('{adsm_delete}');" title="{L_delete}"><img src="../tpl_image/button_drop.png" border="0" alt="{L_delete}" /></a>
<!-- END OPTION adsm_delete -->
</div>


<!-- OPTION L_message -->
<p class="message">{L_message}</p>
<!-- END OPTION L_message -->
				  
<!-- OPTION erreur -->
<div id="erreur">
<p class="erreur-title">{L_erreur}</p>
<ol class="erreur">  
<!-- LOOP erreur -->
<li>{message}</li>
<!-- END LOOP erreur -->
</ol>
</div>
<!-- END OPTION erreur -->

<!-- OPTION show_form -->
<p class="field_required">* {L_field_required}</p>
<form name="form_adsm" action="{form_action}" method="post" id="formulaire">
  <table>
    <tr>
      <th class="field_required">{L_choose_position} *</th>
      <td>
        <div id="position">
        	<select name="position">
                <!-- LOOP position -->
                <option value="{id}" {selected}>{name}</option>
                <!-- END LOOP position -->
            </select>
    	</div>
      </td>
    </tr>
    <tr>
      <th class="field_required">{L_choose_type} *</th>
      <td>
        <div id="type">
        	<select name="type">
                <!-- LOOP type -->
                <option value="{value_type_id}" {selected}>{value_type_name}</option>
                <!-- END LOOP type -->
            </select>
    	</div>
      </td>
    </tr>
    <tr> 
      <th class="field_required">{L_name} *</th>
      <td><input name="name" type="text" value="{value_name}" size="40"> </td>
    </tr>
    <tr> 
      <th class="field_required">{L_url} *</th>
      <td><input name="url" type="text" value="{value_url}" size="40"> </td>
    </tr>
    <tr>
      <th valign="top">{L_file}</th>
      <td>
        <input type="text" name="file" id="file" size="40" value="{value_file}" onchange="show_image('divphoto','img_photo',this.value);" />
        <a href="#" onclick="pop('{link_choose_image}','750','600');" class="choose_image"></a>
        <div id="divphoto">	  
    	  <img src="{value_file}" id="img_photo" />	  
   	    </div>
      </td>
    </tr>
    <tr> 
      <th class="field_required">{L_pub_date}</th>
      <td><input name="pub_date" type="text" value="{value_pub_date}" size="40"> </td>
    </tr>
    <tr> 
      <th class="field_required">{L_end_date}</th>
      <td><input name="end_date" type="text" value="{value_end_date}" size="40"> </td>
    </tr>
    <tr> 
      <th class="field_required">{L_width}</th>
      <td><input name="width" type="text" value="{value_width}" size="40"> </td>
    </tr>
    <tr> 
      <th class="field_required">{L_height}</th>
      <td><input name="height" type="text" value="{value_height}" size="40"> </td>
    </tr>
    <tr>
      <th valign="top">{L_description}</th>
      <td><textarea name="description" cols="35" rows="4" id="description">{value_description}</textarea></td>
    </tr>
    <tr>
      <th class="field_required">{L_choose_statut} *</th>
      <td>
        <input type="radio" name="statut" value="1" /> Oui
        <input type="radio" name="statut" value="0" /> Non
      </td>
    </tr>
  </table>
<div id="boutons">
<input type="hidden" name="id" value="{value_id}">
<input type="submit" name="submit" value="{L_valider}" />
</div>  
</form>
<!-- END OPTION show_form -->